package org.finir.fakturisanje.business.service;

import org.finir.fakturisanje.business.core.GenerickiEAO;

@SuppressWarnings("unchecked")
public class SpojObjekatImpl implements SpojObjekat {

	private GenerickiEAO generickiEAO;

	public GenerickiEAO getGenerickiEAO() {
		return generickiEAO;
	}

	public void setGenerickiEAO(GenerickiEAO generickiEAO) {
		this.generickiEAO = generickiEAO;
	}

	/* (non-Javadoc)
	 * @see org.finir.fakturisanje.business.service.SpojObjekat#spojObjekat(java.lang.Object)
	 */
	public Object spojObjekat(Object object) {
		return generickiEAO.merge(object);
	}

}
